//
//  PayWithBarcode.h
//  UnionRich
//
//  Created by sandy on 15/4/16.
//  Copyright (c) 2015年 cgc. All rights reserved.
//

#import <Foundation/Foundation.h>
//#import "ZBarSDK.h"
#import "YTPayModel.h"
#import "Paymodel.h"
@protocol PayWithBarcodeDelegate <NSObject>

/*!
 *  @author sandy, 15-03-28 14:03:38
 *
 *  @brief  跳转付款结果页面
 *
 *  @param payResult 付款结果
 *
 *  @since 1.1.0
 */
- (void)pushViewControllerWithpayModel:(YTPayModel *)payModel withController:(UIViewController *)viewController;

// 二维码支付（让顾客扫我）
- (void)payMoneyWithQrcodeWhitViewcontroller:(UIViewController *)viewController;
// 取消
- (void)dismissOverLayView;

@end

@interface PayWithBarcode : NSObject

//@property (strong, nonatomic) ZBarReaderViewController * reader;

@property (copy, nonatomic) NSString * amount;

@property (copy, nonatomic) NSString * payWay;

@property (strong, nonatomic) id<PayWithBarcodeDelegate> payDelegate;


//- (void)setOverLayPickerView:(ZBarReaderViewController *)reader;

- (void)queryBarCodePayResult;

@end
